using System;
using System.Collections.Generic;
using System.Text;

namespace miciv
{
    public delegate bool CommandProcessorHandler(Command _command);

    public class Command
    {
        protected string m_strName;
        public string Name
        {
            get
            {
                return this.m_strName;
            }
            set
            {
                this.m_strName = value;
            }
        }

        protected object[] m_args;
        public object[] Args
        {
            get
            {
                return this.m_args;
            }
            set
            {
                this.m_args = value;
            }
        }

        protected object m_result;
        public object Result
        {
            get
            {
                return this.m_result;
            }
            set
            {
                this.m_result = value;
            }
        }

        public Command()
        {
        }

        public Command(string _strName)
        {
            this.m_strName = _strName;
        }

        public Command(string _strName, object[] _args)
        {
            this.Name = _strName;
            this.Args = _args;
        }
    }
}
